package com.mail.dubbo.mapper;

import com.mail.model.db.UmsResource;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 后台资源表 Mapper 接口
 * </p>
 *
 * @author WJZ
 * @since 2022-06-20
 */
public interface UmsResourceMapper extends BaseMapper<UmsResource> {

	/**
	 * 查询所有后台资源
	 * @return
	 */
	@Select("select * from ums_resource;")
	List<UmsResource> getAll();
}
